import { Node } from "cc";
import { Seat } from "../Seat";

export interface Player {
    username: string,
    id: number,
    direction: number,
    sorce: number,

}

export interface Table {

    id: number,
    playerIds: number[],
    // seats: any,
}


export interface IState {
    players: Player[],
    tables: Table[]

}

export interface ISeat {
    id: number,
    dirction: number,
    playerId: number,
    // node: Node,

}


export interface ICard {
    id: number;

    type: String; //wan tong tiao feng zhongfabai hongheihua

    index: number;

    state: number;

}